package com.flash.BusinessParameters.entity;

/**
 * 债券信息
 */
public class BondSetting {
    //债券ID
    private String bondId;//--主键	 如：614587
    //债券名称
    private String bondName;//--18国债22
    //计息起始日
    private String bearingStart;//--2020/6/25
    //计息结束日
    private String bearingEnd;//--2022/6/25
    //债券类型
    private int bondType;//--1是银行间，2是非银行间
    //票面金额
    private double faceAmount;//一般都是100
    //债券利息
    private double bondInterest;
    //票面利率
    private double delayDate;
    //付息次数
    private int interestTime;//--1为一年一次，2为一年两次，3为一年四次
    //债券备注
    private String bondRemark;//--18国债22
    public BondSetting(){}

    public BondSetting(String bondId, String bondName, String bearingStart, String bearingEnd, int bondType, double faceAmount, double bondInterest, double delayDate, int interestTime, String bondRemark) {
        this.bondId = bondId;
        this.bondName = bondName;
        this.bearingStart = bearingStart;
        this.bearingEnd = bearingEnd;
        this.bondType = bondType;
        this.faceAmount = faceAmount;
        this.bondInterest = bondInterest;
        this.delayDate = delayDate;
        this.interestTime = interestTime;
        this.bondRemark = bondRemark;
    }


    public String getBondId() {
        return bondId;
    }

    public void setBondId(String bondId) {
        this.bondId = bondId;
    }

    public String getBondName() {
        return bondName;
    }

    public void setBondName(String bondName) {
        this.bondName = bondName;
    }

    public String getBearingStart() {
        return bearingStart;
    }

    public void setBearingStart(String bearingStart) {
        this.bearingStart = bearingStart;
    }

    public String getBearingEnd() {
        return bearingEnd;
    }

    public void setBearingEnd(String bearingEnd) {
        this.bearingEnd = bearingEnd;
    }

    public int getBondType() {
        return bondType;
    }

    public void setBondType(int bondType) {
        this.bondType = bondType;
    }

    public double getFaceAmount() {
        return faceAmount;
    }

    public void setFaceAmount(double faceAmount) {
        this.faceAmount = faceAmount;
    }

    public double getBondInterest() {
        return bondInterest;
    }

    public void setBondInterest(double bondInterest) {
        this.bondInterest = bondInterest;
    }

    public double getDelayDate() {
        return delayDate;
    }

    public void setDelayDate(double delayDate) {
        this.delayDate = delayDate;
    }

    public int getInterestTime() {
        return interestTime;
    }

    public void setInterestTime(int interestTime) {
        this.interestTime = interestTime;
    }

    public String getBondRemark() {
        return bondRemark;
    }

    public void setBondRemark(String bondRemark) {
        this.bondRemark = bondRemark;
    }

    @Override
    public String toString() {
        return "BondSetting{" +
                "bondId='" + bondId + '\'' +
                ", bondName='" + bondName + '\'' +
                ", bearingStart='" + bearingStart + '\'' +
                ", bearingEnd='" + bearingEnd + '\'' +
                ", bondType=" + bondType +
                ", faceAmount=" + faceAmount +
                ", bondInterest=" + bondInterest +
                ", delayDate=" + delayDate +
                ", interestTime=" + interestTime +
                ", bondRemark='" + bondRemark + '\'' +
                '}';
    }
}
